package com.hj.authority.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hj.mybatis.entity.BaseEntity;
import com.hj.authority.domain.enums.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author hj
 * @Date 2023/4/27
 * @Description: sys_user
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_user")
public class SysUser extends BaseEntity {

    /**
     * 用户名
     */
    private String username;
    /**
     * 密码
     */
    private String password;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 性别 {@link UserGenderEnum}
     */
    private Integer gender;

    /**
     * 超级管理员 {@link SuperAdminEnum}
     */
    private Integer superAdmin;

    /**
     * 状态  {@link UserStatusEnum}
     */
    private Integer status;


}